﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace Common
{
    public class InvokeApiOutput
    {
        public InvokeApiOutput(bool isSuccessStatusCode, HttpStatusCode statusCode, string payload)
        {
            IsSuccessStatusCode = isSuccessStatusCode;
            StatusCode = statusCode;
            Payload = payload;
        }

        public bool IsSuccessStatusCode { get; }
        public HttpStatusCode StatusCode { get; }
        public string Payload { get; }
    }
}
